package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

/**
 * 服务-套餐关联对象 tb_service_package_association
 * 
 * @author hkj
 * @date 2024-09-10
 */


public class TbServicePackageAssociation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 关联id */
    private Long associationId;

    /** 套餐id */
    @Excel(name = "套餐id")
    private Long packageId;

    /** 服务id */
    @Excel(name = "服务id")
    private Long serviceId;

    /** 删除标识（0表示存在，2表示删除） */
    private String delFlag;

    public void setAssociationId(Long associationId) 
    {
        this.associationId = associationId;
    }

    public Long getAssociationId() 
    {
        return associationId;
    }
    public void setPackageId(Long packageId) 
    {
        this.packageId = packageId;
    }

    public Long getPackageId() 
    {
        return packageId;
    }
    public void setServiceId(Long serviceId) 
    {
        this.serviceId = serviceId;
    }

    public Long getServiceId() 
    {
        return serviceId;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("associationId", getAssociationId())
            .append("packageId", getPackageId())
            .append("serviceId", getServiceId())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
